var asiaDom = '<div style="display: flex; align-items: center;">'
var asiaSpan = '<span class="icon-flag '
var asiaSpan2 = '" style="margin-right:5px; width: 36px;height: 25px;"></span><em>'
var asiaEm = '</em></div>'
var africa = [
  // 拉丁美洲和加勒比海地区
  {
    name: 'Argentina', // 阿根廷
    value: ['icon-flag-ar', '阿根廷'],
    selected: true,
    tooltip: {
      show: true,
      formatter: function (e, t, n) {
        return asiaDom + asiaSpan + e.data.value[0] + asiaSpan2 + e.data.value[1] + asiaEm
      }
    }
  },
  {
    name: 'Ecuador', // 厄瓜多尔
    value: ['icon-flag-ec', '厄瓜多尔'],
    selected: true,
    tooltip: {
      show: true,
      formatter: function (e, t, n) {
        return asiaDom + asiaSpan + e.data.value[0] + asiaSpan2 + e.data.value[1] + asiaEm
      }
    }
  },
  {
    name: 'Colombia', // 哥伦比亚
    value: ['icon-flag-co', '哥伦比亚'],
    selected: true,
    tooltip: {
      show: true,
      formatter: function (e, t, n) {
        return asiaDom + asiaSpan + e.data.value[0] + asiaSpan2 + e.data.value[1] + asiaEm
      }
    }
  },
  {
    name: 'Peru', // 秘鲁
    value: ['icon-flag-pe', '秘鲁'],
    selected: true,
    tooltip: {
      show: true,
      formatter: function (e, t, n) {
        return asiaDom + asiaSpan + e.data.value[0] + asiaSpan2 + e.data.value[1] + asiaEm
      }
    }
  },
  {
    name: 'Mexico', // 墨西哥
    value: ['icon-flag-mx', '墨西哥'],
    selected: true,
    tooltip: {
      show: true,
      formatter: function (e, t, n) {
        return asiaDom + asiaSpan + e.data.value[0] + asiaSpan2 + e.data.value[1] + asiaEm
      }
    }
  },
  {
    name: 'Chile', // 智利
    value: ['icon-flag-cl', '智利'],
    selected: true,
    tooltip: {
      show: true,
      formatter: function (e, t, n) {
        return asiaDom + asiaSpan + e.data.value[0] + asiaSpan2 + e.data.value[1] + asiaEm
      }
    }
  }
]

export default africa
